﻿using System;
using System.Collections.Generic;
namespace Xfs
{
    public class XfsGridMap : XfsComponentWithId
    {
        public XfsGrid[,]? Grids { get; set; }
        public string? Name { get; set; }
        public double WithSize { get; set; }
        public double HighSize { get; set; }
        public double withMul { get; set; }
        public double highMul { get; set; }
        public int with { get; set; }
        public int high { get; set; }
        public int Count
        {
            get
            {
                if (this.Grids != null)
                {
                    return this.Grids.Length;
                }
                return 0;
            }
        }

        public readonly List<XfsGrid> GridList = new List<XfsGrid>();
        public readonly List<XfsGrid> Obstacles = new List<XfsGrid>();
    }
}
